package com.blkj.common.utils.scheduled;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author 北浪 2021/11/24
 */
@Component
public class TaskUtils {

    @Scheduled(cron = "0 0 0 1 1,4,7,10 ?")
    public void doTask(){
        System.out.println("定时任务执行了...");

    }
}